

<html>
<head>
    <title>我的</title>
    {include file="public/head" /}
<script src="https://cdn.staticfile.org/axios/0.18.0/axios.min.js"></script></head>
<body>
<div class="mfc user gap bc-back fl">
    <div class="mfc title-box">
        <h1 class="tc c-white lh30">我的</h1>
    </div>
    <div class="cbox mfc fl">
        <div class="user-headbox">
            <div class="sicon"><img src="{$info.headimgurl}"></div>
            <h1 class="tc">{$info.nickname}<span style="font-size: 12px;"> ({$info.unit_title}_{$info.mobile})</span></h1>
        </div>
        <div class="order-box">
            <div class="mfc fl order-tab" onclick="go_order(0)">
                <span class="fl more">我的订单</span>
                <span class="fr more"><a href="javascript:(0)">全部订单</a> </span>
            </div>
            <div class="mfc gap tc fl order-map">
                <div class="mfc4 fl" onclick="go_order(0)">
                    <div class="sicon"><a href="javascript:(0)"><img src="__MOBILE__/img/icon_user_order4.png"></a></div>
                    <span>已下单</span>
                </div>
                <div class="mfc4 fl" onclick="go_order(23)">
                    <div class="sicon"><a href="javascript:(0)"><img src="__MOBILE__/img/icon_user_order1.png"></a></div>
                    <span>待收货</span>
                </div>
                <div class="mfc4 fl" onclick="go_order(4)">
                    <div class="sicon"><a href="javascript:(4)"><img src="__MOBILE__/img/icon_user_order2.png"></a></div>
                    <span>待自提</span>
                </div>
                <div class="mfc4 fl" onclick="go_order(7)">
                    <div class="sicon"><a href="javascript:(0)"><img src="__MOBILE__/img/icon_user_order3.png"></a></div>
                    <span>已完成</span>
                </div>

            </div>
        </div>
    </div>
    <div class="mfc fl order-infor">
        <div class="mfc fl">
            <a href="{:url('Address/index')}?from=my"><img class="mfc" src="__MOBILE__/image/我的地址.png"></a>
        </div>

<!--        <div class="mfc fl">-->
<!--            <img class="mfc" src="__MOBILE__/image/客服热线.png">-->
<!--        </div>-->
        <div class="mfc fl">
            <a href="{:url('Member/out')}?from=my"><img class="mfc" src="/out.gif"></a>
        </div>
    </div>
</div>

{include file="public/foot" /}
</body>
</html>
<script>

    function go_order(status) {
        localStorage.setItem('status',status);
        localStorage.setItem('page', 1);
        window.location.href = "{:url('Order/index')}?status="+status;
    }

</script>